package com.yuanchuang.yp.mall.web.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 菜单
 * </p>
 *
 * @author mg-mybatis-generator
 * @since 2019-07-11
 */
@Data
@TableName("auth_menu")
public class AuthMenuDO implements Serializable {

    private static final long serialVersionUID = 8845318015115629435L;

    /**
     * 菜单id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 菜单名称
     */
    private String name;

    /**
     * 地址
     */
    private String path;

    /**
     * 前端页面地址
     */
    private String component;

    /**
     * 备注
     */
    private String remark;

    /**
     * 排序
     */
    private Integer sortno;

    /**
     * 父级菜单Id
     */
    @TableField("parent_Id")
    private Integer parentId;




}
